import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';

const double iconSize = 25;

//根据色调统一管理Icon
// Image getLogoIcon(bool isDarkTheme) => isDarkTheme?Image.asset("darkIcon"):Image.asset("lightIcon");

SvgPicture getManIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/man.svg",
        width: width, height: height, color: color);

SvgPicture getWomanIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/woman.svg",
        width: width, height: height, color: color);

SvgPicture getCateIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/cate.svg",
        width: width, height: height, color: color);

SvgPicture getExerciseIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/exercise.svg",
        width: width, height: height, color: color);

SvgPicture getHeartBeatIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/heart_beat.svg",
        width: width, height: height, color: color);

SvgPicture getMusicIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/music.svg",
        width: width, height: height, color: color);

SvgPicture getQuestionIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/question.svg",
        width: width, height: height, color: color);

SvgPicture getTagCircleIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/tag_circle.svg",
        width: width, height: height, color: color);

SvgPicture getBookIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/book.svg",
        width: width, height: height, color: color);

SvgPicture getUsualPlaceIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/usual_place.svg",
        width: width, height: height, color: color);

SvgPicture getIntimacyIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/intimacy.svg",
        width: width, height: height, color: color);

SvgPicture getAuthedIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/authed.svg",
        width: width, height: height, color: color);

SvgPicture getSmTagIcon(
    {double width = iconSize, double height = iconSize, Color color}) =>
    SvgPicture.asset("icons/sm_tag.svg",
        width: width, height: height, color: color);